package com.javatop.controller.user;


import com.javatop.service.serviceInterface.RegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RegisterController {

    @Autowired
    public RegisterService registerServiceImpl;


        /*
    负责人：
    功能：  看接口文档
    参数：  看接口文档
    返回值：  看接口文档
     */

    @RequestMapping("/user/register")
    public void register(@RequestBody String account, String password, String authorName, String authorImage, Integer authorSex,String authorEmail,String phone){
        registerServiceImpl.register(account, password, authorName, authorImage, authorSex, authorEmail, phone);

    }






}
